package com.yuyou.fn.common.entity;

import java.io.Serializable;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 
 *
 */
@TableName(value = "configuration_table")
public class ConfigurationTable implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ConfigurationTable> createExample(){
		return new Example<ConfigurationTable>(ConfigurationTable.class);
	}

	/**  */
	@TableId
	private Long id;

	/** 配置编码 */
	private String code;

	/** 父节点编码 */
	private String parentcode;

	/** 根节点编码 */
	private String rootcode;

	/** 配置在结构图里属于第几级 1开始 */
	private String level;

	/** 配置属性名称 */
	private String name;

	/** 属于哪种配置 */
	private String type;

	/** "属于哪个地方的配资" */
	private String position;

	/** 有没有子节点，0 没有，1有 */
	private Integer haschild;

	private String value;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getParentcode() {
		return this.parentcode;
	}

	public void setParentcode(String parentcode) {
		this.parentcode = parentcode;
	}

	public String getRootcode() {
		return this.rootcode;
	}

	public void setRootcode(String rootcode) {
		this.rootcode = rootcode;
	}

	public String getLevel() {
		return this.level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Integer getHaschild() {
		return this.haschild;
	}

	public void setHaschild(Integer haschild) {
		this.haschild = haschild;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
